package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 排除需要统计的教师
 * </p>
 *
 * @author hpiggy
 * @since 2025-08-17
 */
@TableName("train_exclude_teacher")
@ApiModel(value = "TrainExcludeTeacher对象", description = "排除需要统计的教师")
@Data
public class TrainExcludeTeacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("学期")
    private Integer quarterNum;

    private Long teacherId;

    @ApiModelProperty("1:学生练课视屏，2学生备课资料，3听课视屏")
    private Integer videoType;

    @ApiModelProperty("科目id")
    private Long subjectsId;

    @ApiModelProperty("年级，多个逗号隔开")
    private String yearClassIdStr;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @ApiModelProperty("科目名称")
    @TableField(exist = false)
    private String subjectsName;

    @ApiModelProperty("年级名称")
    @TableField(exist = false)
    private String yearClassStrName;

    @ApiModelProperty("教师姓名")
    @TableField(exist = false)
    private String teacherName;


}
